import request from '@/utils/request'

export function getSellWithdrawList(params) {
  return request({
    url: '/backend/v1/sellWithdrawal/page',
    method: 'get',
    params
  })
}

export function confirmSellWithdrawal(params) {
  return request({
    url: '/backend/v1/sellWithdrawal/confirm',
    method: 'delete',
    params
  })
}

export function failedSellWithdrawal(data) {
  return request({
    url: '/backend/v1/sellWithdrawal/failed',
    method: 'put',
    data
  })
}
